//
//  CSJADLoading.h
//  shortvideoplay
//
//  Created by adam on 2024/7/3.
//

#import <Foundation/Foundation.h>
#import <BUAdSDK/BUAdSDK.h>
#import <PangrowthDJX/DJXSDK.h>
#import <LCDSDK/LCDSDK.h>
NS_ASSUME_NONNULL_BEGIN

@interface CSJADLoading : NSObject
+ (instancetype)share;
+(void)initAppCSJAD_successBlock:(void (^)(BOOL issuccess))successBlock;
+(void)initAppYLHAD_successBlock:(void (^)(BOOL issuccess))successBlock;
+ (void)ADSplashAdRequest;
+ (void)ADNativeAdsAdRequest:(NSInteger)count;
+ (void)ADNativeAdsAdPhoneRequest:(NSInteger)count;
+ (void)ADBannerAdRequest:(DS_FatherVC *)viewController;
+ (void)dj_SignWithPaySecretKey;
//短剧退出登录
+ (void)dj_SignOutWithPaySecretKey;

@property (nonatomic, copy) void (^SplashAdLoadFish)(BOOL issuccess);
@property (nonatomic, copy) void (^ADNativeAdsLoadFish)(NSArray * __nullable nativeAdDataArray, NSInteger type);
@property (nonatomic, copy) void (^ADNativeAdsLoadPlayFish)(BOOL isFish);
@property (nonatomic, copy) void (^BannerAdsLoadFish)(id __nullable bannerView);
@property (assign, nonatomic)BOOL isCSJAdInit;
@property (assign, nonatomic)BOOL isYLHAdInit;
@property (assign, nonatomic)BOOL isSplashAdRequest;

+ (void)dj_requestRecommendedPlayletListPage:(NSInteger)page successBlock:(void (^)(NSArray<DJXPlayletInfoModel *> *playletList))successBlock;
+ (void)dj_requestAllPlayletListPage:(NSInteger)page successBlock:(void (^)(NSArray<DJXPlayletInfoModel *> *playletList))successBlock;

@end

NS_ASSUME_NONNULL_END
